<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>${chartTable.title}</title>
<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 9">
</head>
<%response.setHeader("Content-disposition","attachment;filename=excel.xls");%>
<body>
<table>
<c:forEach var="item" items="${chartTable.tableString}" varStatus="name">
<tr>
<c:forEach var="item" items="${chartTable.tableString[name.index]}" varStatus="name">
<td>${item}</td>
</c:forEach>
</tr>
</c:forEach>
</table>
</body>
</html>